Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework motor component into common base class #12352

Merged
merged 1 commit into from
Jan 30, 2025
Merged

Conversation

DonLakeFlyer
Copy link
Contributor

@Godeffroy Can you test this on ArduPilot?

@Godeffroy
Copy link
Contributor

Godeffroy commented Jan 20, 2025

i can test it soon yes.

@Godeffroy
Copy link
Contributor

This what i have for an Hexa copter With ArduCopter V4.6.0
image
image
image

But i have a problem with a fixed wing VTOL Quadrotor, ArduPlane V4.5.1, i should have only 4 motors, but i have the default 8
image
image
Because there is no case for MAV_TYPE_FIXED_WING in the QGCMAVLink::motorCount function.

@Godeffroy
Copy link
Contributor

This what i have with PX4
image
image

@DonLakeFlyer
Copy link
Contributor Author

But i have a problem with a fixed wing VTOL Quadrotor, ArduPlane V4.5.1, i should have only 4 motors, but i have the default 8

Given the mav types specified by mavlink there is no way to know how many motors there are in that config. Hence the default.

@DonLakeFlyer DonLakeFlyer merged commit 64b6ba4 into master Jan 30, 2025
8 checks passed
@DonLakeFlyer DonLakeFlyer deleted the MotorSetup branch January 30, 2025 17:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants